package com.woniuxy.crm.Mapper;

import com.woniuxy.crm.entity.Category;

import java.util.List;

//import static com.woniuxy.crm.Common.Database.categories;


public interface CategoryMapper {
    void add(Category category);

    void update(Category category);

    List<Category> getAll();

    int getByName(String name);

    void deleteById(int id);

}
